<div class="title">Member Login</div>

<div class="text-box">
    <?php
    $form1 = $this->beginWidget('CActiveForm', array(
	'id' => 'login-form',
	'enableAjaxValidation' => false,
	'enableClientValidation' => true,
	'clientOptions' => array(
	    'validateOnSubmit' => true
	),
	'htmlOptions' => array(
	    'class' => 'form-horizontal'
	)
    ));
    ?>    

    <div class="control-group">
	<label for="LoginForm[username]">Username or Email</label>
	<div class="controls">
	    <?php echo $form1->textField($modelForm, 'username'); ?>
	    <?php echo $form1->error($modelForm, 'username') ?>
	</div>
    </div>

    <div class="control-group">
	<?php echo $form1->label($modelForm, 'password'); ?>
	<div class="controls">
	    <?php echo $form1->passwordField($modelForm, 'password'); ?>
	    <?php echo $form1->error($modelForm, 'password'); ?>
	</div>
    </div>
    <div class="control-group">
	<label class="checkbox">
	    <?php echo $form1->checkBox($modelForm, 'rememberMe', array('class' => 'pull-left')); ?>
	    <?php echo $form1->label($modelForm, 'rememberMe', array('class' => 'pull-left')); ?>
	</label>
    </div>

    <div class="control-group">
	<div class="controls">

	    <?php echo CHtml::submitButton('Login', array('class' => 'btn btn-info', 'style' => 'width: 71px;height:30px;font-family: "Times New Roman", Times, serif;')) ?>
	    <a href="<?php echo SITE_NAME_URL ?>site/sign_up" class="btn btn-info">Sign Up</a>
	    <a style="font-size:12px;" href="<?php echo SITE_NAME_URL ?>site/forgot_pass">Forgot password?</a>
	</div>
    </div>
    <?php $this->endWidget(); ?>
</div>